package com.gateway.plugin.tenant.exception;

import com.gateway.common.enums.ErrorCode;
import com.gateway.common.exception.BaseException;

import java.io.Serial;


/**
 * @program: api-gateway
 * @description:
 * @author: YuKai Fan
 * @create: 2025/2/5 17:19
 **/
public class TenantException extends BaseException {
    @Serial
    private static final long serialVersionUID = 4640727809597976242L;

    public TenantException(ErrorCode errorCode) {
        super(errorCode);
    }

    public TenantException(ErrorCode errorCode, String... message) {
        super(errorCode, message);
    }
}
